;;;;;;;;;;;;;;;;;;;;  clendar setting  ;;;;;;;;;;;;;;;;;;;;
(setq calendar-latitude +48.13)
(setq calendar-longitude +11.57)
(setq calendar-location-name "Munich")

(setq calendar-load-hook
      '(lambda ()
         (set-face-foreground 'diary-face "skyblue")
         (set-face-background 'holiday-face "slate blue")
         (set-face-foreground 'holiday-face "white")))

(setq calendar-chinese-celestial-stem
      ["甲" "乙" "丙" "丁" "戊" "己" "庚" "辛" "壬" "癸"])
(setq calendar-chinese-terrestrial-branch
      ["子" "丑" "寅" "卯" "辰" "巳" "戊" "未" "申" "酉" "戌" "亥"])

;;;;;;;;;;;;;;;;;;;;  time format setting  ;;;;;;;;;;;;;;;;;;;;
(display-time-mode 1)
(setq display-time-24hr-format t)
(setq display-time-day-and-date t)
(setq display-time-use-mail-icon t)
(setq display-time-interval 10)
(setq time-stamp-active t)
(setq time-stamp-warn-inactive t)
(setq time-stamp-format emax-time-format)

;;;;;;;;;;;;;;;;;;;;  calendar framework plugin  ;;;;;;;;;;;;;;;;;;;;
(require 'calfw)
(require 'calfw-org)
(require 'calfw-ical)


;;;;;;;;;;;;;;;;;;;;  junk  ;;;;;;;;;;;;;;;;;;;;
;;(display-battery-mode 1)
;;(display-time-next-load-average 1)
;;(require 'chinese-calendar)
